<template>
  <main id="paper">
    <el-form :model="loginForm" :rules="rules" ref="loginForm" class="login-container" label-position="left"
             label-width="0px">
      <h3 class="login_title">账号登录</h3>
      <el-form-item prop="username">
        <el-input type="text" v-model="loginForm.username" auto-complete="off" placeholder="手机号"></el-input>
      </el-form-item>
      <el-form-item prop="password">
        <el-input type="password" v-model="loginForm.password" auto-complete="off" placeholder="密码" show-password>
        </el-input>
      </el-form-item>
      <el-form-item style="width: 100%">
        <el-button type="primary" style="width: 100%;background: #505458;border: none" @click="login('loginForm')">登录
        </el-button>
      </el-form-item>
    </el-form>
    <h4 style="color: #FFFFFF;">--- 2022@MyTemplate | CopyRight@太阳当空丶赵 ---</h4>
  </main>
</template>
<script>
import login from './example/loginLogic'
export default {
  ...login,
}
</script>
<style scoped>

</style>
